package com.community.system.mapper;

import java.util.List;
import com.community.system.domain.PatrolRoute;

/**
 * routeMapper接口
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public interface PatrolRouteMapper 
{
    /**
     * 查询route
     * 
     * @param routeId route主键
     * @return route
     */
    public PatrolRoute selectPatrolRouteByRouteId(Long routeId);

    /**
     * 查询route列表
     * 
     * @param patrolRoute route
     * @return route集合
     */
    public List<PatrolRoute> selectPatrolRouteList(PatrolRoute patrolRoute);

    /**
     * 新增route
     * 
     * @param patrolRoute route
     * @return 结果
     */
    public int insertPatrolRoute(PatrolRoute patrolRoute);

    /**
     * 修改route
     * 
     * @param patrolRoute route
     * @return 结果
     */
    public int updatePatrolRoute(PatrolRoute patrolRoute);

    /**
     * 删除route
     * 
     * @param routeId route主键
     * @return 结果
     */
    public int deletePatrolRouteByRouteId(Long routeId);

    /**
     * 批量删除route
     * 
     * @param routeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePatrolRouteByRouteIds(Long[] routeIds);
}
